.container{
    max-width: 1200px;
    margin: 0 auto;
    min-height:100vh;
}

.full-background{
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    width:100vw;
    min-height: 100vh;
}

.one-line-ellipsis{
.line-ellipsis(1);
}

.line-ellipsis(@line){
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: @line;/*此为两行，设置行数*/
    -webkit-box-orient: vertical;/*子元素垂直排列*/
}

